package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 统计与报对象 ev_statistics
 * 
 * @author wtd1
 * @date 2025-11-15
 */
public class EvStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 统计ID */
    private Long statId;

    /** 统计类型（车辆数量/出入频次/违规次数等） */
    @Excel(name = "统计类型", readConverterExp = "车=辆数量/出入频次/违规次数等")
    private String statType;

    /** 统计值 */
    @Excel(name = "统计值")
    private BigDecimal statValue;

    /** 统计日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statDate;

    /** 统计维度（按学院/时间段等） */
    @Excel(name = "统计维度", readConverterExp = "按=学院/时间段等")
    private String dimension;

    public void setStatId(Long statId) 
    {
        this.statId = statId;
    }

    public Long getStatId() 
    {
        return statId;
    }

    public void setStatType(String statType) 
    {
        this.statType = statType;
    }

    public String getStatType() 
    {
        return statType;
    }

    public void setStatValue(BigDecimal statValue) 
    {
        this.statValue = statValue;
    }

    public BigDecimal getStatValue() 
    {
        return statValue;
    }

    public void setStatDate(Date statDate) 
    {
        this.statDate = statDate;
    }

    public Date getStatDate() 
    {
        return statDate;
    }

    public void setDimension(String dimension) 
    {
        this.dimension = dimension;
    }

    public String getDimension() 
    {
        return dimension;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("statId", getStatId())
            .append("statType", getStatType())
            .append("statValue", getStatValue())
            .append("statDate", getStatDate())
            .append("dimension", getDimension())
            .append("createTime", getCreateTime())
            .toString();
    }
}
